const personalIndex = r => require.ensure([], () => r(require('@/views/personal/index')))
const helpIndex = r => require.ensure([], () => r(require('@/views/personal/help')))
const experienceIndex = r => require.ensure([], () => r(require('@/views/personal/experience')))
const relativesIndex = r => require.ensure([], () => r(require('@/views/personal/relatives')))
const propertyStaff = r => require.ensure([], () => r(require('@/views/personal/propertyStaff')))
const committeeStaff = r => require.ensure([], () => r(require('@/views/personal/committeeStaff')))
const propertyList = r => require.ensure([], () => r(require('@/views/personal/propertyList')))

export default [
    // 个人信息修改
    {
        path: '/personal',
        name: 'personalIndex',
        component: personalIndex,
        // props: true,
        meta: {
            title: '个人信息',
        requireAuth: true
        }
    },
    // 我的产权信息
    {
        path: '/propertyList',
        name: 'propertyList',
        component: propertyList,
        // props: true,
        meta: {
            title: '我的产权信息',
        requireAuth: true
        }
    },
    // 家属
    {
        path: '/relatives',
        name: 'relativesIndex',
        component: relativesIndex,
        // props: true,
        meta: {
        title: '我的家属',
        requireAuth: true
        }
    },
      // 物业人员
      {
        path: '/propertyStaff',
        name: 'propertyStaff',
        component: propertyStaff,
        // props: true,
        meta: {
        title: '小区物业人员设定',
        requireAuth: true
        }
    },
      // 业委会雇员
      {
        path: '/committeeStaff',
        name: 'committeeStaff',
        component: committeeStaff,
        // props: true,
        meta: {
        title: '小区业委会雇员设定',
        requireAuth: true
        }
    },
    // 参选履历
    {
        path: '/experience',
        name: 'experienceIndex',
        component: experienceIndex,
        // props: true,
        meta: {
        title: '参选履历',
        requireAuth: true
        }
    },
     // 软件帮助
     {
        path: '/help',
        name: 'helpIndex',
        component: helpIndex,
        // props: true,
        meta: {
        title: '帮助',
        requireAuth: true
        }
    },
]